<?php

namespace ORM\Dynasties2;

use Doctrine\ORM\Mapping as ORM;

/**
 * ORM\Dynasties2\Users
 */
class Users
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var string $firstName
     */
    private $firstName;

    /**
     * @var string $lastName
     */
    private $lastName;

    /**
     * @var string $email
     */
    private $email;

    /**
     * @var datetime $created
     */
    private $created;

    /**
     * @var string $referral
     */
    private $referral;

    /**
     * @var integer $whichFamily
     */
    private $whichFamily;

    /**
     * @var string $originalIp
     */
    private $originalIp;

    /**
     * @var string $lastIp
     */
    private $lastIp;

    /**
     * @var datetime $lastOn
     */
    private $lastOn;

    /**
     * @var string $password
     */
    private $password;

    /**
     * @var integer $isActive
     */
    private $isActive;

    /**
     * @var integer $isAdmin
     */
    private $isAdmin;

    /**
     * @var integer $okToEmail
     */
    private $okToEmail;

    /**
     * @var string $email2
     */
    private $email2;

    /**
     * @var integer $failedLogons
     */
    private $failedLogons;

    /**
     * @var text $notes
     */
    private $notes;

    /**
     * @var integer $howManyFamilies
     */
    private $howManyFamilies;

    /**
     * @var text $secretQuestion
     */
    private $secretQuestion;

    /**
     * @var text $secretAnswer
     */
    private $secretAnswer;

    /**
     * @var string $phoneNumber
     */
    private $phoneNumber;

    /**
     * @var integer $okToText
     */
    private $okToText;

    /**
     * @var integer $country
     */
    private $country;

    /**
     * @var integer $totalLogins
     */
    private $totalLogins;

    /**
     * @var smallint $suspect
     */
    private $suspect;

    /**
     * @var smallint $donated
     */
    private $donated;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set firstName
     *
     * @param string $firstName
     * @return Users
     */
    public function setFirstName($firstName)
    {
        $this->firstName = $firstName;
        return $this;
    }

    /**
     * Get firstName
     *
     * @return string 
     */
    public function getFirstName()
    {
        return $this->firstName;
    }

    /**
     * Set lastName
     *
     * @param string $lastName
     * @return Users
     */
    public function setLastName($lastName)
    {
        $this->lastName = $lastName;
        return $this;
    }

    /**
     * Get lastName
     *
     * @return string 
     */
    public function getLastName()
    {
        return $this->lastName;
    }

    /**
     * Set email
     *
     * @param string $email
     * @return Users
     */
    public function setEmail($email)
    {
        $this->email = $email;
        return $this;
    }

    /**
     * Get email
     *
     * @return string 
     */
    public function getEmail()
    {
        return $this->email;
    }

    /**
     * Set created
     *
     * @param datetime $created
     * @return Users
     */
    public function setCreated($created)
    {
        $this->created = $created;
        return $this;
    }

    /**
     * Get created
     *
     * @return datetime 
     */
    public function getCreated()
    {
        return $this->created;
    }

    /**
     * Set referral
     *
     * @param string $referral
     * @return Users
     */
    public function setReferral($referral)
    {
        $this->referral = $referral;
        return $this;
    }

    /**
     * Get referral
     *
     * @return string 
     */
    public function getReferral()
    {
        return $this->referral;
    }

    /**
     * Set whichFamily
     *
     * @param integer $whichFamily
     * @return Users
     */
    public function setWhichFamily($whichFamily)
    {
        $this->whichFamily = $whichFamily;
        return $this;
    }

    /**
     * Get whichFamily
     *
     * @return integer 
     */
    public function getWhichFamily()
    {
        return $this->whichFamily;
    }

    /**
     * Set originalIp
     *
     * @param string $originalIp
     * @return Users
     */
    public function setOriginalIp($originalIp)
    {
        $this->originalIp = $originalIp;
        return $this;
    }

    /**
     * Get originalIp
     *
     * @return string 
     */
    public function getOriginalIp()
    {
        return $this->originalIp;
    }

    /**
     * Set lastIp
     *
     * @param string $lastIp
     * @return Users
     */
    public function setLastIp($lastIp)
    {
        $this->lastIp = $lastIp;
        return $this;
    }

    /**
     * Get lastIp
     *
     * @return string 
     */
    public function getLastIp()
    {
        return $this->lastIp;
    }

    /**
     * Set lastOn
     *
     * @param datetime $lastOn
     * @return Users
     */
    public function setLastOn($lastOn)
    {
        $this->lastOn = $lastOn;
        return $this;
    }

    /**
     * Get lastOn
     *
     * @return datetime 
     */
    public function getLastOn()
    {
        return $this->lastOn;
    }

    /**
     * Set password
     *
     * @param string $password
     * @return Users
     */
    public function setPassword($password)
    {
        $this->password = $password;
        return $this;
    }

    /**
     * Get password
     *
     * @return string 
     */
    public function getPassword()
    {
        return $this->password;
    }

    /**
     * Set isActive
     *
     * @param integer $isActive
     * @return Users
     */
    public function setIsActive($isActive)
    {
        $this->isActive = $isActive;
        return $this;
    }

    /**
     * Get isActive
     *
     * @return integer 
     */
    public function getIsActive()
    {
        return $this->isActive;
    }

    /**
     * Set isAdmin
     *
     * @param integer $isAdmin
     * @return Users
     */
    public function setIsAdmin($isAdmin)
    {
        $this->isAdmin = $isAdmin;
        return $this;
    }

    /**
     * Get isAdmin
     *
     * @return integer 
     */
    public function getIsAdmin()
    {
        return $this->isAdmin;
    }

    /**
     * Set okToEmail
     *
     * @param integer $okToEmail
     * @return Users
     */
    public function setOkToEmail($okToEmail)
    {
        $this->okToEmail = $okToEmail;
        return $this;
    }

    /**
     * Get okToEmail
     *
     * @return integer 
     */
    public function getOkToEmail()
    {
        return $this->okToEmail;
    }

    /**
     * Set email2
     *
     * @param string $email2
     * @return Users
     */
    public function setEmail2($email2)
    {
        $this->email2 = $email2;
        return $this;
    }

    /**
     * Get email2
     *
     * @return string 
     */
    public function getEmail2()
    {
        return $this->email2;
    }

    /**
     * Set failedLogons
     *
     * @param integer $failedLogons
     * @return Users
     */
    public function setFailedLogons($failedLogons)
    {
        $this->failedLogons = $failedLogons;
        return $this;
    }

    /**
     * Get failedLogons
     *
     * @return integer 
     */
    public function getFailedLogons()
    {
        return $this->failedLogons;
    }

    /**
     * Set notes
     *
     * @param text $notes
     * @return Users
     */
    public function setNotes($notes)
    {
        $this->notes = $notes;
        return $this;
    }

    /**
     * Get notes
     *
     * @return text 
     */
    public function getNotes()
    {
        return $this->notes;
    }

    /**
     * Set howManyFamilies
     *
     * @param integer $howManyFamilies
     * @return Users
     */
    public function setHowManyFamilies($howManyFamilies)
    {
        $this->howManyFamilies = $howManyFamilies;
        return $this;
    }

    /**
     * Get howManyFamilies
     *
     * @return integer 
     */
    public function getHowManyFamilies()
    {
        return $this->howManyFamilies;
    }

    /**
     * Set secretQuestion
     *
     * @param text $secretQuestion
     * @return Users
     */
    public function setSecretQuestion($secretQuestion)
    {
        $this->secretQuestion = $secretQuestion;
        return $this;
    }

    /**
     * Get secretQuestion
     *
     * @return text 
     */
    public function getSecretQuestion()
    {
        return $this->secretQuestion;
    }

    /**
     * Set secretAnswer
     *
     * @param text $secretAnswer
     * @return Users
     */
    public function setSecretAnswer($secretAnswer)
    {
        $this->secretAnswer = $secretAnswer;
        return $this;
    }

    /**
     * Get secretAnswer
     *
     * @return text 
     */
    public function getSecretAnswer()
    {
        return $this->secretAnswer;
    }

    /**
     * Set phoneNumber
     *
     * @param string $phoneNumber
     * @return Users
     */
    public function setPhoneNumber($phoneNumber)
    {
        $this->phoneNumber = $phoneNumber;
        return $this;
    }

    /**
     * Get phoneNumber
     *
     * @return string 
     */
    public function getPhoneNumber()
    {
        return $this->phoneNumber;
    }

    /**
     * Set okToText
     *
     * @param integer $okToText
     * @return Users
     */
    public function setOkToText($okToText)
    {
        $this->okToText = $okToText;
        return $this;
    }

    /**
     * Get okToText
     *
     * @return integer 
     */
    public function getOkToText()
    {
        return $this->okToText;
    }

    /**
     * Set country
     *
     * @param integer $country
     * @return Users
     */
    public function setCountry($country)
    {
        $this->country = $country;
        return $this;
    }

    /**
     * Get country
     *
     * @return integer 
     */
    public function getCountry()
    {
        return $this->country;
    }

    /**
     * Set totalLogins
     *
     * @param integer $totalLogins
     * @return Users
     */
    public function setTotalLogins($totalLogins)
    {
        $this->totalLogins = $totalLogins;
        return $this;
    }

    /**
     * Get totalLogins
     *
     * @return integer 
     */
    public function getTotalLogins()
    {
        return $this->totalLogins;
    }

    /**
     * Set suspect
     *
     * @param smallint $suspect
     * @return Users
     */
    public function setSuspect($suspect)
    {
        $this->suspect = $suspect;
        return $this;
    }

    /**
     * Get suspect
     *
     * @return smallint 
     */
    public function getSuspect()
    {
        return $this->suspect;
    }

    /**
     * Set donated
     *
     * @param smallint $donated
     * @return Users
     */
    public function setDonated($donated)
    {
        $this->donated = $donated;
        return $this;
    }

    /**
     * Get donated
     *
     * @return smallint 
     */
    public function getDonated()
    {
        return $this->donated;
    }
}